<nz-spin [nzSpinning]="isSpinning">
    <section>
        <div class="container">
            <div class="row">
                <div class="col-md-2 spon-txt">
                    <span>My Sponsers: </span>
                </div>
                <div class="col-md-10">
                    <img src="./assets/images/clients.png" alt="" class="img-rounded img-responsive"/>
                </div>
            </div>
        </div>
    </section>

    <section>
        <div class="container">
            <div class="row">
                <div class="col-md-9">
                    <!--文章列表-->
                    <div class="blog-main" *ngFor="let item of ariticeData">
                        <div [routerLink]="['/about/artile-details']" [queryParams]="{id: item.id}" class="heading-blog">
                            {{item.title}}
                        </div>
                        <a [routerLink]="['/about/artile-details']" [queryParams]="{id: item.id}">
                            <img src="{{item.img}}" class="img-responsive img-rounded"/>
                        </a>
                        <div class="blog-info">
                            <span class="label label-primary">{{item.date | date: 'yyyy-MM-dd HH:mm:ss'}}</span>
                            <span class="label label-success">In Technology</span>
                            <span class="label label-danger">By Jhon</span>
                            <span class="label label-info">
                                  <i class="fa fa-thumbs-up"></i>+ 10
                          <i class="fa fa-thumbs-down"></i>-3
                              </span>
                        </div>
                        <div class="blog-txt" [routerLink]="['/about/artile-details']" [queryParams]="{id: item.id}" id="blog-txt" [innerHTML]="item.details"></div>
                    </div>

                    <!--分页-->
                    <nz-pagination [nzPageIndex]="params.page" (nzPageIndexChange)="changePage($event)" [nzPageSize]="params.maxCount" [nzTotal]="totalCount" nzShowQuickJumper></nz-pagination>
                </div>
                <div class="col-md-3">

                    <ul class="list-group">
                        <li class="list-group-item">
                            <strong>Main Categories</strong>
                        </li>
                        <li class="list-group-item">
                            <span class="badge">104</span>
                            Technology
                        </li>
                        <li class="list-group-item">
                            <span class="badge">34</span>
                            Blogging
                        </li>
                        <li class="list-group-item">
                            <span class="badge">10</span>
                            Information
                        </li>
                        <li class="list-group-item">
                            <span class="badge">50</span>
                            Security
                        </li>
                        <li class="list-group-item">
                            <strong>Other Categories</strong>
                        </li>
                        <li class="list-group-item">
                            <span class="badge">104</span>
                            Technology
                        </li>
                        <li class="list-group-item">
                            <span class="badge">34</span>
                            Blogging
                        </li>
                        <li class="list-group-item">
                            <span class="badge">10</span>
                            Information
                        </li>
                        <li class="list-group-item">
                            <span class="badge">50</span>
                            Security
                        </li>
                    </ul>
                    <br/>

                    <ul class="list-group">
                        <li class="list-group-item">Advrtisements
                        </li>
                        <li class="list-group-item">
                            <a href="#">
                                <img src="./assets/images/ad1.jpg" class="img-responsive"/>
                            </a>
                            <br/>
                            <a href="#">
                                <img src="./assets/images/ad2.jpg" class="img-responsive"/>
                            </a>
                        </li>
                    </ul>

                    <br/>
                    <div>
                        <div class="panel panel-default">
                            <div class="panel-heading">
                                <h3 class="panel-title">Subscribe For Updates</h3>
                            </div>
                            <div class="panel-body">
                                <input type="text" class="form-control" placeholder="Your Email"/>
                                <hr/>
                                <a href="#" class="btn btn-info btn-sm btn-block">subscribe</a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <hr/>
    <div class="container">
        <div class="row">
            <div class="col-md-12 text-center set-foot">
                Copyright&copy;2018-2018 李开吉, All Rights Reserved
            </div>
        </div>
    </div>
</nz-spin>

